package cn.wolfcode.wms.mapper;

import cn.wolfcode.wms.domain.Department;
import cn.wolfcode.wms.domain.Permission;
import cn.wolfcode.wms.qo.QueryObject;

import java.util.List;

public interface PermissionMapper {
    int deleteByPrimaryKey(Long id);


    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    int rows (QueryObject qo);

    List<Permission> queryForList (QueryObject qo);

    List<String> selectExpressAll();

    void insert(Permission p);

    List<String> selectByEmployeeId(Long id);
}